package com.base.app.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.base.app.entity.Article;

@Component("articleDao")
public interface ArticleDao
{
	
	void save(Article article);
	
	void delete(long id);
	
	void update(Article article);
	
	Article get(long id);
	
	int count(Map<String, Object> params);
	
	List<Long> query(Map<String, Object> params);
	
}
